const mongoose=require('mongoose')
mongoose.connect("mongodb+srv://zwh1034:UqTQaFIKIbOeUNBI@cluster0.26hwycf.mongodb.net/yi").then(()=>{
    console.log("连接成功");
}).catch(err=>{
    console.log(err);
})


const userSchema=new mongoose.Schema({
   phone:String,
})




const userModel=mongoose.model('user',userSchema)
module.exports={
    userModel
}